package com.edu.hibernate;

import java.sql.Timestamp;

/**
 * Practice entity. @author MyEclipse Persistence Tools
 */

public class Practice implements java.io.Serializable {

	// Fields

	private PracticeId id;
	private Integer lectureId;
	private Integer classId;
	private String folderName;
	private String practicePath;
	private String createBy;
	private Timestamp createDate;
	private Timestamp dateExpire;
	private Boolean status;

	// Constructors

	/** default constructor */
	public Practice() {
	}

	/** minimal constructor */
	public Practice(PracticeId id, Integer classId) {
		this.id = id;
		this.classId = classId;
	}

	/** full constructor */
	public Practice(PracticeId id, Integer lectureId, Integer classId,
			String folderName, String practicePath, String createBy,
			Timestamp createDate, Timestamp dateExpire, Boolean status) {
		this.id = id;
		this.lectureId = lectureId;
		this.classId = classId;
		this.folderName = folderName;
		this.practicePath = practicePath;
		this.createBy = createBy;
		this.createDate = createDate;
		this.dateExpire = dateExpire;
		this.status = status;
	}

	// Property accessors

	public PracticeId getId() {
		return this.id;
	}

	public void setId(PracticeId id) {
		this.id = id;
	}

	public Integer getLectureId() {
		return this.lectureId;
	}

	public void setLectureId(Integer lectureId) {
		this.lectureId = lectureId;
	}

	public Integer getClassId() {
		return this.classId;
	}

	public void setClassId(Integer classId) {
		this.classId = classId;
	}

	public String getFolderName() {
		return this.folderName;
	}

	public void setFolderName(String folderName) {
		this.folderName = folderName;
	}

	public String getPracticePath() {
		return this.practicePath;
	}

	public void setPracticePath(String practicePath) {
		this.practicePath = practicePath;
	}

	public String getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getDateExpire() {
		return this.dateExpire;
	}

	public void setDateExpire(Timestamp dateExpire) {
		this.dateExpire = dateExpire;
	}

	public Boolean getStatus() {
		return this.status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

}